<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layout :: common_header(~{::title})">
    <title>[[${sjcd}]]-[[${ejcd}]] - [[${T(com.b2c.erp.DataConfigObject).getInstance().getSysName()}]]</title>
</head>
<body th:replace="layout :: common_body(~{::div.layui-body})">
<div class="layui-body" style="padding:15px;top: 0px;">
    <style type="text/css">
        .record-box h2 {
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 40px;
        }

        .record-input input {
            width: 400px;
            height: 22px;
            line-height: 22px;
            font-size: 16px;
            padding: 14px 9px;
            border: 1px solid #787878;
        }
        .record-box {
            position: relative;
            width: 900px;
            height: 550px;
            padding: 0 5px;
            font-size: 13px;
            color: #787878;
        }

        .record-head {
            margin: -20px 0 80px 0;
            height: 40px;
            line-height: 40px;
            font-size: 13px;
        }

        .record-head span {
            float: left;
        }

        .record-head i {
            float: right;
            font: normal 28px/30px Tahoma;
            cursor: pointer;
        }

        .record-code {
            position: absolute;
            left: 50%;
            top: 10px;
            margin-left: -110px;
            width: 220px;
            font-size: 14px;
            text-align: center;
        }

        .record-code img {
            width: 100%;
            display: block;
        }

        .record-code span {
            line-height: 2;
        }

        .record-box h2 {
            font-weight: normal;
            font-size: 20px;
            margin-bottom: 20px;
        }

        .record-info {
            line-height: 34px;
            overflow: hidden;
            margin-bottom: 15px;
        }

        .record-info span {
            float: left;
            width: 33.3%;
            text-align: left;
        }

        .record-info span:nth-child(3n-1) {
            padding-left: 9%;
            width: 35.66%;
        }

        .record-info span:nth-child(3n) {
            width: 20%;
        }

        .record-info span:last-child {
            width: 100%;
        }

        .record-table {
            max-height: 250px;
            overflow-y: auto;
        }

        .record-table table {
            width: 100%;
        }

        .record-table th, .record-table td {
            padding: 10px 0;
            font-size: 13px;
            text-align: center;
            border: 1px solid #787878;
        }

        .record-table th {
            padding: 5px 0;
        }

        .record-button {
            position: absolute;
            width: 100%;
            left: 0;
            bottom: 10px;
            text-align: center;
        }

        .record-button a {
            border: 1px solid #787878;
            padding: 10px 15px;
            font-size: 14px;
            color: #787878;
        }
        .quantity {
            border: 1px solid #787878;
        }
        .red{
            border: 1px solid #ff0000;
        }
        .sel {
            background-color: #00FF00;
        }
    </style>


    <link rel="stylesheet" href="/sb/stock.css"/>
    <fieldset class="layui-elem-field">
        <legend>扫码操作</legend>
        <div class="layui-field-box">
            <form class="layui-form layui-form-pane1" action="/stock_in/stock_in_purchase" method="get">
                <div class="layui-form-item">

                    <div class="layui-inline">
                        <input type="text" id="num" name="num" placeholder="采购单号" class="layui-input" style="width: 260px;">
                    </div>


                    <div class="layui-inline">
                        <i style="color: red" th:text="${msg}"></i>
                        <button lay-submit="" class="layui-btn" lay-filter="scanCode">确认</button>
<!--                        <i>总共扫码：<span th:text="${totalSize}" id="totalCount">0</span>&nbsp;条</i>-->
<!--                        <i>出库成功：<span th:text="${totalSize}" id="successCount" style="color: red">0</span>&nbsp;条</i>-->
                    </div>
                    <div class="layui-inline"></div>

                </div>
            </form>



        </div>
    </fieldset>




</div>
</body>
</html>